Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#370 학습자료 모달에서 UI 수정 #383

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

llddang
Copy link
Collaborator

@llddang llddang commented Jan 12, 2025

관련 이슈

작업 요약

  • 학습자료 모달에서 학습자료의 파일의 cursor가 다른 점 pointer로 수정했습니다.

작업 상세 설명

  • IconBox안에 cursor 항목을 추가하여 cursor를 조작할 수 있도록 했습니다.

리뷰 요구 사항

  • 리뷰예상 시간 : 3분

미리 보기

@llddang llddang self-assigned this Jan 12, 2025
Copy link
Collaborator

@yeonddori yeonddori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shaun

Comment on lines +5 to +9
const IconBox = ({ leftIcon, content, rightIcon, handleClick, cursor = 'default' }: IconBoxProps) => {
return (
<Flex align="center" gap="1" w="100%" h="40px" minH="40px" color="white" bg="orange_light" borderRadius="2xl">
<IconButton as="div" flexShrink="0" aria-label="" icon={leftIcon} size="icon_md" variant="transparent" />
<Text textStyle="bold_md" flex="auto" cursor="default" isTruncated>
<Text textStyle="bold_md" flex="auto" cursor={cursor} isTruncated>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다른 부분도 그렇고, default도 이렇게 직접 default라는 것을 명시해야 하나요? 말 그대로 기본값이라 그냥 둬도 된다고 생각이 들어서 명시해야 하는 이유가 궁금합니다!!

Copy link
Collaborator Author

@llddang llddang Jan 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 저부분은 IconBox를 지금은 default 로 사용하지만 나중에는 pointer 나 text로 사용할 가능성도 있을 거라 생각되어서 저렇게 만들어 두었습니다!

Copy link
Collaborator

@jasper200207 jasper200207 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DESIGN] 학습자료 모달에서 UI 수정
3 participants